package com.winsdom.vo;

import com.winsdom.dto.CategoryTreeNodes;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(description = "管辖项目信息")
public class UserOrgInfoVO {

    @ApiModelProperty(value = "用户名", example = "CQ0001", required = true)
    private String username;

    @ApiModelProperty(value = "姓名", example = "张三", required = true)
    private String name;

    @ApiModelProperty(value = "所属组织", example = "重庆分公司", required = true)
    private String orgName;

    @ApiModelProperty(value = "当前组织所有的节点信息", required = true)
    private CategoryTreeNodes orgTree;

    @ApiModelProperty(value = "当前用户名所管辖楼盘的id", example = "[13]", required = true)
    private List<Long> orgIds;
}
